import { View } from "@tarojs/components";
import "./index.scss";

interface ScrollFooterProps {
  text?: string;
}

const ScrollFooter = (props: ScrollFooterProps) => {
  const { text } = props;
  return (
    <View className="scroll_footer">
      <div className="scroll_footer_line"></div>
      <div className="scroll_footer_text">{text || "我是有底线的"}</div>
      <div className="scroll_footer_line"></div>
    </View>
  );
};

export default ScrollFooter;
